from curl_cffi import requests
import time

url = f'https://www.zhipin.com/?sid=sem_pz_bdpc_dasou_title'


cookies = {
    'sid': 'sem_pz_bdpc_dasou_title',
    '__zp_seo_uuid__': '770235c0-3fec-4ea6-9691-8cd46bfceebb',
    '__g': 'sem_pz_bdpc_dasou_title',
    'Hm_lvt_194df3105ad7148dcf2b98a91b5e727a': '1761816081,1761826251,1761828537',
    'HMACCOUNT': '20D1DD1D3D4525A4',
    '__c': '1761828537',
    '__l': 'r=https%3A%2F%2Fwww.baidu.com%2Fother.php%3Fsc.060000aTEBlMBbYGErrp-JkgXqRlvuO6N3bSQ2tq2dptbr9_X9yLOiI16WME8_o7zbEOXSbQI2d04Rahf-EMTOrJDrNp1dY7fkhBoxdP-4E8LhcGLv8kcSb1ynGFifyRBCfVWewz9sLGcj-oxG4b0Bfvt2YKfdwFuuhPtlJOUmBoiGOr41MYI9ePMXKDvU5wqU_ZXb4wfFQ-3ZY6LLSnfn1Rf2k1.7R_NR2Ar5Od663rj6t8AGSPticrtXFBPrM-kt5QxIW94UhmLmry6S9wiGJIGHz3qis1f_TXMGzIc.TLFWgv-b5HDkrfK1ThPGujYknHb0THdBULP1doZA80KYUHdBULP1doZA80KdTvNzgLw4TARqn0K9u7qYXgK-5Hn0IvqzujdBULP1doZA80KzmLmqn0KdThkxpyfqnHRvrHDkrHDdn0KVINqGujYkPWTsnW04nfKVgv-b5HDYnj6kPjcY0AdYTAkxpyfqnHc3nWm0TZuxpyfqn0KGuAnqiD4a0ZKGujYL0APGujYs0AN3T7qYpyd-5HDLP10Yrj0snj00mLFW5HRsrHmY%26ck%3D6110.1.71.214.147.216.156.186%26dt%3D1761828530%26wd%3Dboss%25E7%259B%25B4%25E8%2581%2598%26tpl%3Dtpl_12826_36977_0%26l%3D1569119150%26ai%3D0_60872259_1_1%26us%3DlinkVersion%253D1%2526compPath%253D10036.0-10032.0%2526label%253D%2525E4%2525B8%2525BB%2525E6%2525A0%252587%2525E9%2525A2%252598%2526linkType%253D%2526linkText%253DBOSS%2525E7%25259B%2525B4%2525E8%252581%252598%2525E2%252580%252594%2525E2%252580%252594%2525E6%252589%2525BE%2525E5%2525B7%2525A5%2525E4%2525BD%25259C%2525EF%2525BC%25258C%2525E4%2525B8%25258ABOSS%2525E7%25259B%2525B4%2525E8%252581%252598%2525EF%2525BC%25258C&l=%2Fwww.zhipin.com%2F%3Fsid%3Dsem_pz_bdpc_dasou_title&s=3&g=%2Fwww.zhipin.com%2F%3Fsid%3Dsem_pz_bdpc_dasou_title&friend_source=0&s=3&friend_source=0',
    '__a': '33188694.1761828537..1761828537.2.1.2.2',
    'Hm_lpvt_194df3105ad7148dcf2b98a91b5e727a': '1761828566'
}

# cookies = {
#     'wt2': 'Dg3DysN1W0s6wYYCcMX6ZIKWz0YB2CrZ88DXS_Yu6IiWC4hi-NOyvAmLK-IBuSciLT4RRg77iuZr4Vu4NANY8eA~~',
#     'wbg': '0',
#     'zp_at': 'cHQYsod5JykhG-5BBcpTdzIZbMDeuc8pxQJ9OdRFnp8~',
#     'ab_guid': '365fe5da-8f1b-44c1-824e-4fd8eb9aaf62',
#     'sid': 'sem_pz_bdpc_dasou_title',
#     'lastCity': '101190400',
#     '__zp_seo_uuid__': '131ae5f4-23ab-4230-8b46-bc2d0afd6f6d',
#     '__l': 'r=https%3A%2F%2Fwww.zhipin.com%2F%3Fsid%3Dsem_pz_bdpc_dasou_title&l=%2Fcitysite%2Fsuzhou%2F%3Fsid%3Dsem_pz_bdpc_dasou_title%26seoRefer%3Dindex&s=1',
#     'bst': 'V2RtklGeP_0ldiVtRuyR8eKyO07DrTxi4~|RtklGeP_0ldiVtRuyR8eKyO07DrTwi4~',
#     '__c': '1761826249',
#     '__g': 'sem_pz_bdpc_dasou_title',
#     '__a': '31767804.1761816081.1761816081.1761826249.12.2.1.1',
#     '__zp_stoken__': '7513fQ0HDrsOFwpbDgk43HBYbHRZANEZBMmZMQzVKREBDQThCTkNBQCREM2HDhsSMeUFpw5EyRShBOE1FQ084REoYQUzFhsOEREI9EsOHxIt9RmzDlBIiwrgRRMODFBjDhDPDt8OBM8Kxw4U1M8Kyw4RERkBBHcK4w4bDjzHDgcOEw43CpMOGw5vCuEY4QcKKOkJuWGBYQjhUVmcIVmBVbW5aE15bXTZBQEZDwovCqDpHHBofGx4TEQgUFRwaH3jCgRMRCBQVFggRFRQ7QcKqw4XCkcS4xIcaw7bEpsKlw43Cq13CpWPDj8K5wqXCscK8w4fCnGvEhHPCl8K5wp1cw4FvXsK2wrvDicOHw49pXW1gXcOHZX%2FCth3CuHlhWXfCuBodHxocOB7DicKdw5Y%3D',
#     'Hm_lvt_194df3105ad7148dcf2b98a91b5e727a': '1761816081,1761826251',
#     'Hm_lpvt_194df3105ad7148dcf2b98a91b5e727a': '1761826251',
#     'HMACCOUNT': '20D1DD1D3D4525A4'
# }
headers={
    'Host': 'www.zhipin.com',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36',
    'Accept': 'application/json, text/plain, */*',
    'Accept-Encoding': 'gzip, deflate, br',
    'Accept-Language': 'zh-CN,zh;q=0.9',
    'Referer':'https://www.zhipin.com/?sid=sem_pz_bdpc_dasou_title'
}
response = requests.get(url, headers=headers, cookies=cookies)
print(response)
print(response.text)
# https://www.zhipin.com/job_detail/2a8cc93830e1ff8803x80tq5FFJT.html?pk=cpc_job_index_suzhou&ka=rcmd_list_job_0&sessionId=b2fdec22-991f-4073-9020-e547adbc9bb3&lid=16c9191f-8ead-4fc0-a76b-aec3a3ebee17.f1%3Acommon.eyJzZXNzaW9uSWQiOiJiMmZkZWMyMi05OTFmLTQwNzMtOTAyMC1lNTQ3YWRiYzliYjMiLCJyY2RCelR5cGUiOiJmMV9ncmNkIn0.1